Port ruby data_generator.rb to Julia (#258)
authorClaire Foster <chris42f@gmail.com>
Wed, 3 Jan 2024 17:02:08 +0000 (03:02 +1000)
committerGitHub <noreply@github.com>
Wed, 3 Jan 2024 17:02:08 +0000 (12:02 -0500)
commit0a8526c8d6ac77e7b5f83ce99808c443aec7957f
tree75a832fd2b36bf54fee2f7bf3d43027d36ac3ec8
parenta9c6332ad1f8e1c987aae5d4a4b632b2c52d5782
Port ruby data_generator.rb to Julia (#258)

* Port ruby data_generator.rb to Julia

This reduces the number of dependencies needed when regenerating the C
code. The new code also separates C code generation from unicode data
analysis somewhat more cleanly which should be better factored for
generating a Julia version of the data files in the future.

The output is identical to the original Ruby script, for now. Some bugs
which were found in the process are noted as FIXMEs in the Julia source
and can be fixed next.

* Replace some explicit loops with a utility function

* fixup! Port ruby data_generator.rb to Julia

* Update Makefile

* Update data/Makefile

* Update data/Makefile

* Update data/Makefile

* Update data/Makefile

* Update data/data_generator.jl

---------

Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Makefile
data/Makefile
data/Manifest.toml [new file with mode: 0644]
data/Project.toml [new file with mode: 0644]
data/charwidths.jl [deleted file]
data/data_generator.jl [new file with mode: 0644]
data/data_generator.rb [deleted file]